package com.itheima.d3_abstract;

public class Dog extends Animals{
    public Dog(String name){
        super(name);
    }

    @Override
    public void cry() {
        System.out.println("我是"+getName()+"我汪汪汪地叫");
    }
}
